WPForms\Integrations\Stripe\Api\Common S

Total Complexity 43
Dependencies 6
Dependents 0
Total lines 462
Lines of code 219
Logical lines of code 83
Comment lines 170
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
set_customer()
B
41 15 63
get_var()
S
60 7 13
get_plan_id()
S
53 5 21
set_error_from_exception()
S
53 4 22
create_plan()
S
50 3 30
get_subscription_period_data()
S
48 1 40
get_config()
S
79 1 3
get_customer()
S
79 1 3
get_subscription()
S
79 1 3
get_error()
S
80 1 3
get_exception()
S
80 1 3
setup_stripe()
S
69 1 8
set_exception()
S
81 1 3
handle_exception()
S
77 1 4